package com.jhm.ai.domain;

import com.jhm.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 聊天消息对象
 * @author Jie.
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AiChatMessage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;
    
    /** 会话id */
    private Long sessionId;
    
    /** 发送角色 */
    private String role;
    
    /** 消息类型 */
    private String type;
    
    /** 聊天信息 */
    private String message;
    
    /** 动作参数 */
    private String action;
    
    /** 模型id */
    private Long modeId;
    
    /** 知识库id */
    private Long kgId;
    
    /** 联网搜索 */
    private Integer netSearch;
    
    /** 逻辑删除 */
    private Integer deleteFlag;
}
